package com.bocai.kelalacar.ui.car.main.contract;

import com.bocai.kelalacar.base.BaseView;
import com.bocai.kelalacar.bean.CarDriverBean;
import com.bocai.kelalacar.bean.CheckLineBean;
import com.bocai.kelalacar.bean.MyAddressBean;
import com.bocai.kelalacar.bean.PhoneTypeBean;
import com.bocai.kelalacar.bean.UserBean;

import java.util.List;

/**
 * Created by yuanfei on 2017/6/29.
 */

public interface PublishInformationContract {

    interface view extends BaseView {


        void getCarDriverList(CarDriverBean bean);

        void checkLineSuccess(CheckLineBean bean);

        void teamPublishSuccess();

        void originAreasList(List<MyAddressBean> list);

        void arriveAreasList(List<MyAddressBean> list);
    }
    abstract static class presenter  {



        public abstract void getCarDriverList(String memberId);

        public abstract void checkLine(String addressId);

        public abstract void teamPublish(String PriceId,String CarId, String DriverId,String DepartureTime,
                                         String Deadline);

        //出发地列表
        public abstract void originAreas();

        //目的地列表
        public abstract void arriveAreas(String originCityId,String originAddress);

    }

}
